package iosr11.data;

import iosr11.gbase.TeacherBase;

import com.google.gdata.data.DateTime;

public class Mark {
	private float grade;
	private TeacherBase teacher;
	private MarkKind kind;
	private DateTime date;
	private float points;
	
	public Mark(){
		
	}
	
	public Mark(float grade, TeacherBase teacher, int kind, DateTime date, float points){
		this.grade = grade;
		this.teacher = teacher;
		this.kind = this.changeIntToMarkKind(kind);
		this.date = date;
		this.points = points;
	}
	
	public int changeMarkKindToInt(MarkKind kind){
		return 0;
	}
	
	public MarkKind changeIntToMarkKind(int kind){
		return null;
	}
	
	public float getGrade() {
		return grade;
	}
	public void setGrade(float grade) {
		this.grade = grade;
	}
	public TeacherBase getTeacher() {
		return teacher;
	}
	public void setTeacher(TeacherBase teacher) {
		this.teacher = teacher;
	}
	public MarkKind getKind() {
		return kind;
	}
	public void setKind(MarkKind kind) {
		this.kind = kind;
	}
	public DateTime getDate() {
		return date;
	}
	public void setDate(DateTime date) {
		this.date = date;
	}
	public float getPoints() {
		return points;
	}
	public void setPoints(float points) {
		this.points = points;
	}
	
}
